#!/usr/bin/env python3

class Schoolmember():
    def __init__(self, name, sex, age, addr):
        self.name = name
        self.sex = sex
        self.age = age
        self.addr = addr

class Teacher(Schoolmember):
    def t_course(self,cour):
        self.cour = cour
    def s_pay(self,pay):
        self.pay = pay
    def _return_(self):
        return "{0},{1},{2},{3},{4},{5}".format(self.name,self.sex,self.age,self.addr,self.cour,self.pay)
    

class Student(Schoolmember):
    def student_info(self,s_score,s_class):
        return s_score,s_class
    def _return_(self):
        return "{0},{1},{2},{3},{4},{5}".format(self.name,self.sex,self.age,self.addr,self.s_score,self.s_class)

